Service+ and Service-It Help

System Requirements
Ordering
Installation
Service+
Service Properties
Service-It
Technical Support


System Requirements

Service+ and Service-It requires Windows NT 4.00 or later.
About 500 KB of hard disk space


Ordering Service+ or Service-It

You can order online at http://www.activeplus.com or you can use the registration software (register.exe) provided with Service+.


Installation

To install Service+ you need to unzip svcplus.zip into a temporary directory and then run setup.exe from that directory.


Service+

Computer

Selects  the computer on which you want to administer services. You must have sufficient rights on the remote machine.

Properties

Edits the service properties.

Start

Starts a service that is stopped. To pass startup parameters to the service, press the shift key and the start button together.

Stop

Stops a service that is running. If another service is dependent on the service you stop, it will be stopped automatically.

Restart

Restarts a running service. If another service is dependent on the service you are restarting, the other service will not be restarted.

Pause

Pauses a service that is running.
Note: When you pause the Server service, only members of the computer's Administrator and of the Server Operators groups can make connections to the server.

Continue

Returns a service that has been paused to normal operation.

Remove

Removes a service. All dependent service must be stopped before you can remove the service. Associated components of the service will not be removed.
Use extreme caution when using this function, removing system services can result in a system crash.

End process (Right Click Menu)

Terminates a running process, this functionality is very useful to terminate an unresponding service. Be very careful when using this function.You must only use this function when the stop service command is not working or is disabled. Dependent services will not be stopped and could crash.
This functionality is only available on services running locally.

Debug process (Right Click Menu)

If a debugger that support "Just in time debugging" is installed on your system, you can use this function to launch the debugger and attach it the the service process. (Visual C++ users: This is equivalent to msdev /p pid)
This functionality is only available on services running locally.

Note:
You can select multiple services at the same time by pressing the Control key.
You can right click to access the contextual service menu.


Service Properties

Use this dialog box to configure when and how the service is started, and to specify the user account the service used to log on.

Startup Type

Log On As

Specifies whether services log on to the system account or a user account. Most services log on to a system account.

System Account

Specifies that the service will log on to the system account, rather than a user account. Most services log on to a system account.

Interact with Desktop

Specifies whether you want the service to provide a user interface on a desktop that can be used by whoever is logged in when the service is started. This option can be used only if the service is running as a LocalSystem account (as defined in the "This Account" box).

This Account

Enables you to assign a logon user account to a service. Although most services must log on to the system account, some services can be configured to log on to special user accounts.

The service is dependent on

List all the services the service depends on. The service cannot be started without them.

Dependent services

Contain the list of dependent services. A dependent service is a service that cannot start without the current service running.

Name

Service display name, usually you can change that name without any problem

Path

Service path, you cannot edit the service path if the service is not installed locally or if the service is of type shared process. You can use this function to change the service location if you want the move a product to another directory without having to reinstall everything.


Note:
To modify the service properties, you must be logged on to a user account that has membership in the Administrators local group.

Interact with Desktop is available only if the service is running as a LocalSystem account (as specified in the This Account box).


Service-It

Service-It allows you to run Windows NT applications (including batch files) as services. Advantages of Service-It compared to other alike utilities are easy to administrate, give better control of the running process and network support for old applications that don't support UNC path. If an application  terminates because of a  user logoff it will be automatically restarted
To create a service, you need to run 'Add a Service-It service' from the Service+ program group.

Service-It properties dialog box

Path

Specify the full path of application you want to run as a service. The string can include environment variables. (Ex. %SystemRoot%)

Parameters

Specify parameters passed to the application. The string can include environment variables.

You can pass additional parameters when starting the service using the service startup parameters.

Directory

Specify the default process directory;  if not specified the default directory will be application directory. The string can include environment variables.

Restore Network Drive

If the application you are running as a service cannot use UNC path to access network resources, select this option, and all drives that are mapped by the service user will be restored.

Enable Pause/Continue

This will enable the pause and continue service command. This will suspend or resume the application primary thread.

Restart process automatically

Restart the process automatically at a specified number of seconds. This option is useful when you want to schedule a batch file or an executable periodically.

Startup Window: (Windowed application only)

Specify the window placement (Normal, Minimized, Maximized, etc.)

Process Priority

Select the process base priority (Idle, Normal or High)

Interact with Desktop when service log on as a user
Under Windows NT an interactive service cannot be configured to log on as a user account, therefore cannot access network resources. When enabling this option, Service-It will allow your program to interact with the desktop and access network resources.

Process Affinity

On multiprocessor system, this allows you to select processors on which the application will run.

Command line parameters

Execute "svcit /? | more" for detailed information

Note:

All errors will be reported in the Event Log.
If you want to report errors to the Event Log from a batch file running as a service, you can use the command line "svcit /Service="Your Service Name" /Type=Error /Message="The error message"

Note to developers:

When the service is stopped, the application will receive a WM_CLOSE message, if the application does not terminate within 10 seconds, the application will be terminated via the TerminateProcess() API: this is a drastic way to end an application.

When running GUI application as a service and the currently logged-in user is logging-off, the application will receive a WM_QUERYENDSESSION and WM_ENDSESSION messages, your application must not exit on such messages in order to survive logoff. If you cannot control that behavior, Service-It will automatically restart your application after a user logoff.


Technical Support

Technical support is provided online at http://www.activeplus.com.


Copyright © 1996-1999 Active+ Software. All rights reserved. Microsoft, Windows and Windows NT are all trademarks of Microsoft Corporation.